package cn.edu.hqu.coursesys.domain;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Getter;
import lombok.Setter;

public class PersonalInfo {
	@Getter
	@Setter
	@NotNull(message="sid is required")
	private int sid;
	@Getter
	@Setter
	@NotBlank(message="name is required")
	private String name;
	@Getter
	@Setter
	@NotBlank(message="major is required")
	private String major;
	@Getter
	@Setter
	@NotBlank(message="grade is required")
	private String grade;
	@Getter
	@Setter
	@NotBlank(message="colleage is required")
	private String colleage;
}
